<?php
FLEA::loadClass('FLEA_Db_TableDataGateway');
class Model_DB_Products extends FLEA_Db_TableDataGateway {
	var $tableName = "products";
	var $primaryKey = "pid";
	var $belongsTo = array(
    array(
        'tableClass'  => 'Model_DB_ProductClasses',
        'foreignKey'  => 'pcid',
        'mappingName' => 'pclass'
    )
    );
}
?>